package com.zyx.maildemo.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName: ViewController
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2019/7/27 12:58
 */
@Controller
public class ViewController {

    @GetMapping({"/", "/helloworld"})
    public String helloWorld() {
        return "1";
    }

}
